home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir40 / noecho2.zip / NOECHO2.DOC < prev    next >
Text File  |  1988-03-28  |  3KB  |  70 lines

  1.  
  2.          DEFAULT OF "ECHO OFF" FOR PC DOS 2.0/2.1/3.1/3.2/3.3
  3.          ----------------------------------------------------
  4.  
  5.      For all those "Front-End Writers" that can't stand to have to put
  6. ECHO OFF followed by CLS at the top of a batch file and then see the
  7. ECHO OFF come up on the screen, these little patches to PC DOS 2.0 through
  8. 3.3 COMMAND.COM are just what you need. They make ECHO OFF the default
  9. condition for all batch files when they are run and the line
  10.  
  11.           E 096E 00    (Dos 2.X ONLY)
  12.  
  13.           E 1967 00    (Dos 3.1 ONLY)
  14.  
  15.           E 1B2C 00    (Dos 3.2 ONLY)
  16.  
  17.           E 1D68 00    (Dos 3.3 ONLY)
  18.  
  19. in the patch file makes ECHO OFF the default condition at boot time when
  20. AUTOEXEC.BAT is run. If you want the default at boot time to remain as
  21. ECHO ON then use your text editor to take this line out of the patch
  22. file.
  23.  
  24.      Please note that the patch files will ONLY work for their
  25. respective versions of PC DOS, as the COMMAND.COM for PC DOS 2.0 and 2.1
  26. are somewhat different.
  27.  
  28.           Use NOECHO20.BAT for PC DOS 2.0
  29.  
  30.           Use NOECHO21.BAT for PC DOS 2.1
  31.  
  32.           Use NOECHO31.BAT for PC DOS 3.1
  33.           
  34.           Use NOECHO32.BAT for PC DOS 3.2
  35.  
  36.           Use NOECHO33.BAT for PC DOS 3.3
  37.  
  38.      To run the patch files, just make sure you have a copy of DEBUG.COM
  39. and the respective version of COMMAND.COM on the same disk (and in the
  40. same directory). Then type either NOECHO20 or NOECHO21 or NOECHO32 or
  41. NOECHO33 as appropriate. As DEBUG uses the contents of the batch file
  42. which calls it for data to do the patch you will see a couple of error
  43. indications as DEBUG tries to make sense out of the first two lines of
  44. the file. These won't hurt anything.
  45.  
  46.      When you are back at the DOS prompt, use the new COMMAND.COM to
  47. re-boot your system with, and voila! Note that if you intend using the
  48. patched version you have made, you should go through ALL your disks that
  49. have that version of COMMAND.COM on them and replace it with the new
  50. patched copy if you want to avoid the annoying "Illegal COMMAND.COM ..."
  51. messages that appear when DOS tries to reload old unpatched copies of
  52. COMMAND.COM.
  53.  
  54.      The original data on the DOS 2.0 patch came from a source that I
  55. don't remember. I cleaned it up a little so the error message that the
  56. little patch subroutine is written into didn't look so ragged, and added
  57. the patch for ECHO OFF at boot time. I then examined PC DOS 2.1 and 3.2
  58. and 3.3 COMMAND.COMs and adapted the patch to them.
  59.  
  60.      Anyway, enjoy your new freedom of choice!
  61.  
  62.      Editor's note:
  63.      I got the above for 2.0/2.1/3.2/3.3 from the PDSE bulletin board.
  64. Since I run DOS 3.1 to keep my memory usage down, I adapted the patches
  65. to 3.1 and added the result to the documentation and batch set.
  66. As far as I have been able to determine, you STILL need an ECHO OFF at
  67. the start of your AUTOEXEC.BAT file, but after that, ECHO OFF will be the
  68. default for batch files under these patches.
  69.  
  70.